﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using QuanLyKho.GUI;
using QuanLyKho.GUI.Library;

namespace QuanLyKho.GUI
{
    public partial class ucmnuHeThong : UserControl
    {
        public ucmnuHeThong()
        {
            InitializeComponent();
            treHeThong.ExpandAll();

        }
        frmMain main = new frmMain();
        private void treHeThong_AfterSelect(object sender, TreeViewEventArgs e)
        {

            switch (treHeThong.SelectedNode.Name.ToString())
            {
                case "Node1":

                    ucListAccount uc = new ucListAccount();
                
                    new clsLibrary().processGroupBox(uc, main.gbMain);
                    break;

            }

        }




    }
}
